/*************************************************************************
 Copyright (C) Unpublished Unis Software, Inc. All rights reserved.
 Unis Software, Inc., Confidential and Proprietary.

 This software is subject to copyright protection
 under the laws of the Public of China and other countries.

 Unless otherwise explicitly stated, this software is provided
 by Unis "AS IS".
 *************************************************************************/
package com.unis.model.workplan;

import com.unis.model.BaseModel;

/**
 * 工作计划
 * @author Administrator (email:xxh@163.com)
 * @since 2013-03-20
 */
public class Workplan extends BaseModel {

    private static final long serialVersionUID = 1L;

    /****************************************
     * Basic fields
     ****************************************/
    /**
     * 计划ID
     */
    private String planid;
    /**
     * 计划名称
     */
    private String planname;
    /**
     * 计划内容
     */
    private String plancontent;
    /**
     * 开始日期
     */
    private String starttime;
    /**
     * 结束日期
     */
    private String endtime;
    /**
     * 类型名称（个人计划为空）
     */
    private String typename;
    /**
     * 用户ID
     */
    private String userid;
    /**
     * 计划类别ID
     */
    private String protypeid;
    /**
     * 发布范围：0则代表全部部门，存放所有的参与部门ID（个人计划为空）
     */
    private String issuescope;
    /**
     * 参与人：0则代表全部参与，参与人,即员工ID列表（个人计划为空）
     */
    private String participants;
    /**
     * 负责人
     */
    private String principal;
    /**
     * 备注
     */
    private String note;
    /**
     * 状态：1=激活，0=禁用
     */
    private double status;
    /**
     * 是否为个人计划：1=则为个人工作计划，这时发布范围，参与人均为空，负责人为当前用户，0=则代表为其他任务（部门计划）
     */
    private double ispersonal;
    /**
     * 图标
     */
    private String icon;
    /**
     * 附件ID
     */
    private String fileid;
    private String typeid;
    /****************************************
     * JavaBean Specify setter & getter
     ****************************************/
    public void setPlanid(String planid) {
        this.planid = planid;
    }

    public String getPlanid() {
        return planid;
    }
    public void setPlanname(String planname) {
        this.planname = planname;
    }

    public String getPlanname() {
        return planname;
    }
    public void setPlancontent(String plancontent) {
        this.plancontent = plancontent;
    }

    public String getPlancontent() {
        return plancontent;
    }
    public void setStarttime(String starttime) {
        this.starttime = starttime;
    }

    public String getStarttime() {
        return starttime;
    }
    public void setEndtime(String endtime) {
        this.endtime = endtime;
    }

    public String getEndtime() {
        return endtime;
    }
    public void setTypename(String typename) {
        this.typename = typename;
    }

    public String getTypename() {
        return typename;
    }
    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getUserid() {
        return userid;
    }
    public void setProtypeid(String protypeid) {
        this.protypeid = protypeid;
    }

    public String getProtypeid() {
        return protypeid;
    }
    public void setIssuescope(String issuescope) {
        this.issuescope = issuescope;
    }

    public String getIssuescope() {
        return issuescope;
    }
    public void setParticipants(String participants) {
        this.participants = participants;
    }

    public String getParticipants() {
        return participants;
    }
    public void setPrincipal(String principal) {
        this.principal = principal;
    }

    public String getPrincipal() {
        return principal;
    }
    public void setNote(String note) {
        this.note = note;
    }

    public String getNote() {
        return note;
    }
    public void setStatus(double status) {
        this.status = status;
    }

    public double getStatus() {
        return status;
    }
    public void setIspersonal(double ispersonal) {
        this.ispersonal = ispersonal;
    }

    public double getIspersonal() {
        return ispersonal;
    }
    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getIcon() {
        return icon;
    }

    public String getFileid() {
        return fileid;
    }

    public void setFileid(String fileid) {
        this.fileid = fileid;
    }

    public String getTypeid() {
        return typeid;
    }

    public void setTypeid(String typeid) {
        this.typeid = typeid;
    }

}
